<?php
namespace app\api\model;

use think\Db;
use think\Exception;
use think\Model;



class BannerItem extends BaseModel
{
    //protected $hidden=['id'];
    protected $hidden=['id','img_id','update_time','delete_time'];
    public function img(){
        return $this->belongsTo('Image','img_id','id');
    }
}